﻿@using Webdiyer.WebControls.Mvc
@model PagedList<VipSoft.CMS.Core.Entity.Article>
@foreach (var item in Model)
{
    <li>
        <a href="/Article/Content/@ViewBag.CId/@item.ID" title=" @item.Title ">
            <i>
                @(item.Title.Length > 5 ? item.Title.Substring(0, 4) : item.Title)

            </i>
        </a>
        <a href="/Article/Content/@ViewBag.CId/@item.ID" title=" @item.Title "><p>@(item.Summary != null && item.Summary.Length > 18 ? item.Summary.Substring(0, 18) : item.Title)</p></a>
    </li>
}